{% extends 'base.html' %}
{% block content %}
{% if forum_list %}
    <table border = 1>
        <tr>
        <td width = 150>Forum</td>
        <td width = 300>Description</td>
        </tr>
    {% for forum in forum_list %}
        <tr>
        <td width = 200><a href="/forum/{{ forum.id }}/">{{ forum.title }}</a></td>
        <td width = 600>{{forum.description}}</td>
        </tr>
    {% endfor %}
    </table>
{% else %}
    <p>No forums exist</p>
{% endif %}
{% endblock %}